/*
 *  dna_app.h -- provide dna-system application programming interface.
 *  
 *  ORIGINAL AUTHOR: Xu Chun (chun.xu@broadlink.com.cn)
 *
 *  Copyright (c) 2016 Broadlink Corporation
 */

#ifndef __DNA_APP_H
#define __DNA_APP_H

unsigned int module_firmware_version(void); /* Local version */
int module_firmware_remote_info(
            dna_ota_remote_info_t * remote_info);
unsigned int module_svn_revision(void);
unsigned int module_product_type(void);

/*
*  @module_prepare_init: invoke it before wlan framework startup
*  (Such as GPIO output)
*  @module_startup: invoke it after wlan framework startup
*/
void module_prepare_init(void);
void module_startup(void);
int  module_network_config(dna_wifi_network_t * network);
void module_network_handle(int status);

#endif

